feat: Add 25 boards with bilingual descriptions to create-project UI#28
feat: Add 25 boards with bilingual descriptions to create-project UI#28BernardXiong merged 8 commits intomainfrom
Conversation
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
| "path": "bsp/qemu-virt64-riscv64" | ||
| }, | ||
| { | ||
| "name": "qemu-riscv-virt32", |
There was a problem hiding this comment.
需要double check下 rt-thread bsp,似乎没有这个 qemu-riscv-virt32 bsp
There was a problem hiding this comment.
@copilot 需要double check下 rt-thread bsp,没有这个 qemu-riscv-virt32 bsp
There was a problem hiding this comment.
Fixed in d9f6824. Removed the non-existent qemu-riscv-virt32 BSP from the board list.
| "path": "bsp/qemu-riscv-virt32" | ||
| }, | ||
| { | ||
| "name": "qemu-riscv-virt64", |
There was a problem hiding this comment.
需要double check下 rt-thread bsp,应该只有 qemu-virt64-riscv ,没有 qemu-riscv-virt64。
There was a problem hiding this comment.
@copilot 需要double check下 rt-thread bsp,应该只有 qemu-virt64-riscv ,没有 qemu-riscv-virt64。
There was a problem hiding this comment.
Fixed in d9f6824. Corrected to qemu-virt64-riscv and removed the duplicate qemu-riscv-virt64 entry.
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
| ] | ||
| }, | ||
| { | ||
| "manufacturer": "Espressif", |
There was a problem hiding this comment.
@copilot Espressif 相关的BSP都暂时移除吧,在RT-Thread中的支持还不算完备。可以把瑞萨,英飞凌的几个在维护的BSP加入。
There was a problem hiding this comment.
Fixed in 8259dcf. Removed Espressif BSPs (esp32, esp32c3) and added Renesas (ra6m3-hmi-board, ra6m4-cpk) and Infineon (psoc62-cy8ckit-062s2-43012, xmc4500-relax) BSPs.
| "manufacturer": "GigaDevice", | ||
| "boards": [ | ||
| { | ||
| "name": "gd32vf103-rvstar", |
There was a problem hiding this comment.
@copilot GD32的BSP应该主要是位于 bsp/gd32 下的一些活跃的BSP,而不是直接 bsp 目录下的。
There was a problem hiding this comment.
Fixed in d747574. Updated GigaDevice BSPs to use boards from bsp/gd32/arm/ directory (gd32450z-eval, gd32407v-start) instead of the root bsp directory.
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
| "path": "bsp/renesas/ra6m3-hmi-board" | ||
| }, | ||
| { | ||
| "name": "ra6m4-cpk", |
| "board": "imxrt1064-evk", | ||
| "path": "bsp/imxrt/imxrt1064-evk" | ||
| } | ||
| ] |
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
| }, | ||
| { | ||
| "manufacturer": "Infineon", | ||
| "boards": [ |
There was a problem hiding this comment.
英飞凌的bsp放这份 Infineon/psoc6-evaluationkit-062S2 ,不是这里提及的两份
There was a problem hiding this comment.
@copilot 英飞凌的bsp放这份 Infineon/psoc6-evaluationkit-062S2 ,不是这里提及的两份
There was a problem hiding this comment.
Fixed in b2b68a5. Replaced both Infineon BSPs with psoc6-evaluationkit-062S2 from bsp/Infineon/psoc6-evaluationkit-062S2.
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
Overview
This PR expands the board selection in the create-project interface from 5 boards (2 manufacturers) to 25 boards (8 manufacturers), with bilingual descriptions (English and Chinese) that are displayed in the UI when users select a board.
Changes
Board List Expansion (
resources/bi.json)Expanded the board catalog to include popular and active BSPs from the RT-Thread ecosystem:
qemu-vexpress-a9,qemu-virt64-aarch64, andqemu-virt64-riscv- all verified to exist in RT-Thread repositorybsp/Infineon/directorybsp/gd32/arm/directoryAll board descriptions now follow a bilingual format: "English description. 中文描述。"
UI Enhancements (
src/vue/create-project/)Added dynamic board description display in the create-project interface:
When users select a board, the description automatically appears in the "创建工程说明" section, providing context about the selected hardware platform in both English and Chinese.
Backend Updates (
src/api.ts,src/webviews/create-project.ts)Modified the
getBoardInfo()function to return full board objects including descriptions:Added
getBoardInfoSimple()for backwards compatibility if needed.Architecture Coverage
The expanded board list now covers multiple architectures:
Testing
Backwards Compatibility
The Vue component handles both the legacy string format and new object format for board data, ensuring compatibility with existing configurations.
Fixes #27
Original prompt
Fixes #27
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.